home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
os2
/
foss11b3.zip
/
SETUP.CMD
< prev
Wrap
OS/2 REXX Batch file
|
1996-06-20
|
2KB
|
40 lines
/* FOSS/2 v1.1 installation script */
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
call SysLoadFuncs
cur_dir = directory()
say 'Creating FOSS/2 folder:'
call SysMoveObject "<FOSSFOLDER>", "<WP_DESKTOP>"
if SysCreateObject( "WPFolder", "FOSS/2 v1.1", "<WP_DESKTOP>",,
"OBJECTID=<FOSSFOLDER>" ) then
say '- FOSS/2 v1.1 folder created'
say 'Creating FOSS/2 objects:'
call SysDestroyObject "<FOSSSETUP>"
if SysCreateObject( "WPProgram", "Initial setup", "<FOSSFOLDER>",,
"OBJECTID=<FOSSSETUP>;EXENAME="cur_dir"\FOSS.EXE;PARAMETERS=-I;STARTUPDIR="cur_dir ) then
say '- Setup object created'
call SysDestroyObject "<FOSS#0>"
if SysCreateObject( "WPProgram", "FOSS/2 Node #0", "<FOSSFOLDER>",,
"OBJECTID=<FOSS#0>;EXENAME="cur_dir"\FOSS.EXE;PARAMETERS=0;STARTUPDIR="cur_dir ) then
say '- Node #0 object created'
call SysDestroyObject "<FOSS#1>"
if SysCreateObject( "WPProgram", "FOSS/2 Node #1", "<FOSSFOLDER>",,
"OBJECTID=<FOSS#1>;EXENAME="cur_dir"\FOSS.EXE;PARAMETERS=1;STARTUPDIR="cur_dir ) then
say '- Node #1 object created'
call SysDestroyObject "<FOSSDOC>"
if SysCreateObject( "WPProgram", "Documentation", "<FOSSFOLDER>",,
"OBJECTID=<FOSSDOC>;EXENAME=EXPLORE.EXE;PARAMETERS=welcome.html" ) then
say '- Documentation object created'
say
say 'Now, run Initial setup if this is first time installation, else, run Node #0'
say 'and check your configuration.'
call SysDropFuncs